package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-25
 */
@TableName("work_arrangement")
public class WorkArrangement extends Model<WorkArrangement> {

    private static final long serialVersionUID = 1L;

    @TableField("areaid")
    private Long areaid;
    public Long getAreaid() { return areaid; }
    public void setAreaid(Long areaid) {
        this.areaid = areaid;
    }
	private Long id;
    /**
     * 员工
     */
	private String employee;
    /**
     * 员工工作
     */
	@TableField("emp_work")
	private String empWork;
    /**
     * 指定人
     */
	private String nominee;

		/*序号*/
	@TableField("serial")
	private Long serial;

	public Long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}

	/**
	 * 创建时间
	 * @return
	 */
	@TableField("createtime")
	private Long createtime;

	public Long getRoomId() {
		return roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRoom_name() {
		return room_name;
	}

	public void setRoom_name(String room_name) {
		this.room_name = room_name;
	}

	/**
	 * 房间名字
	 * @return
	 */
	@TableField(exist = false)
	private String room_name;



	@TableField(exist = false)
	private String roomname;

	public String getRoomname() {
		return roomname;
	}

	public void setRoomname(String roomname) {
		this.roomname = roomname;
	}

	/*房间id*/
	@TableField("room_id")
	private Long roomId;
	/*删除*/
	@TableField("is_delete")
	private Integer isDelete;

	public Long getSerial() {
		return serial;
	}

	public void setSerial(Long serial) {
		this.serial = serial;
	}


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEmployee() {
		return employee;
	}

	public void setEmployee(String employee) {
		this.employee = employee;
	}

	public String getEmpWork() {
		return empWork;
	}

	public void setEmpWork(String empWork) {
		this.empWork = empWork;
	}

	public String getNominee() {
		return nominee;
	}

	public void setNominee(String nominee) {
		this.nominee = nominee;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}


	@Override
	public String toString() {
		return "WorkArrangement{" +
				"id=" + id +
				", employee='" + employee + '\'' +
				", empWork='" + empWork + '\'' +
				", nominee='" + nominee + '\'' +
				", serial=" + serial +
				", createTime=" + createtime +
				", room_name='" + room_name + '\'' +
				", roomname='" + roomname + '\'' +
				", roomId=" + roomId +
				", isDelete=" + isDelete +
				'}';
	}
}
